package com.toKnow.mapper;

import com.toKnow.model.entity.ArticlePub;

public interface ArticlePubDao {

    int insertArticle(ArticlePub articlePub);

    int addArticleComment(Integer id);

    int addArticleLike(Integer id);

    int subArticleLike(Integer id);

    int  insertArticleReturnId(ArticlePub articlePub);

    int insertArticleDraftReturnId(ArticlePub articlePub);

    int removeArticleDraft(Integer aid);

    int updateArticleDraft(ArticlePub articlePub);

    Integer selectAuthor(Integer article_id);

}
